package com.example.androidpattern.decorator.classes;

import com.example.androidpattern.decorator.interfaces.IShape;

/**
 * @ClassName: ShapeDecortor$
 * @Description: java类作用描述
 * @Author: xinya
 * @CreateDate: 2020/12/18$ 17:23$
 * @UpdateRemark: 更新内容
 * @Version: 1.0
 */
public class ShapeDecorator implements IShape {
    protected IShape mShape;

    public ShapeDecorator(IShape shape) {
        mShape = shape;
    }

    @Override
    public void display() {
        mShape.display();
    }
}
